home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILFILE / UNPROPTC.LZH / FLT-SIM.MOD < prev    next >
Text File  |  1983-09-30  |  2KB  |  103 lines

  1.  
  2.     Flight Simulator RGB Modifications
  3.  
  4.         By: Andrew Tuline
  5.  
  6.         CIS: 70465,1223
  7.  
  8.     The modifications included herein will allow an RGB
  9. monitor to show some colours using the Flight Simulator program.
  10. This modification is not perfect, nor is is very well tested.
  11. The user should make a copy of their Flight Simulator program
  12. using their favourite technique. As we know even the most
  13. obvious methods may elude us. Anyways, one of the bugs is, when
  14. the user enters the slew mode, the modifications are nullified.
  15. Basically, the technique is to intercept the disk vector and
  16. setup a port for the colour display adapter for the needed
  17. values. I certainly hope, that by disclosing this technique,
  18. Microsoft doesn't skin my hide. Anyways to modify your extra
  19. spare disk, boot up debug in DOS 2.0 and type the following:
  20.  
  21. Note: you need a system with at least 96K to use this
  22. modification as is.
  23.  
  24. L CS:0 0 0 1      (FLIGHT SIMULATOR DISK IN DRIVE A)
  25. A 0
  26. mov    ax,201
  27. mov    dx,0
  28. mov    CL,2
  29. mov    ch,27
  30. mov    bx,1000
  31. mov    es,bx
  32. xor    bx,bx
  33. int    13
  34. jmp    1000:0
  35. W CS:0 0 0 1
  36.  
  37.  
  38.  
  39. L CS:0 0 139 1      (FLIGHT SIMULATOR DISK IN DRIVE A)
  40. A 0
  41. push    cs
  42. pop    ds
  43. mov    ax,0
  44. mov    es,ax
  45. es:
  46. mov    ax,[4c]
  47. mov    [70],ax
  48. es:
  49. mov    ax,[4e]
  50. mov    [72],ax
  51. mov    ax,48
  52. es:
  53. mov    [4c],ax
  54. es:
  55. mov    [4e],cs
  56.  
  57. cli
  58. xor    ax,ax
  59. mov    ds,ax
  60. mov    es,ax
  61. mov    ss,ax
  62. mov    sp,c0b0
  63. mov    cx,200
  64. mov    SI,7c00
  65. mov    DI,500
  66. sti
  67. repz
  68. movsb
  69. jmp    0:7c18
  70.  
  71.  
  72. a 48
  73. pushf
  74. push    cs
  75. cs:
  76. mov    [74],ax
  77. mov    ax,5b
  78. push    ax
  79. cs:
  80. mov    ax,[74]
  81. jmp    F000:EC59  <- this is also saved at 1000:0070
  82. pushf
  83. push    ax
  84. push    dx
  85. mov    dx,3d8
  86. mov    AL,0a
  87. out    dx,AL
  88. inc    dx
  89. mov    AL,20
  90. out    dx,AL
  91. pop    dx
  92. pop    ax
  93. popf
  94. iret
  95. W CS:0 0 139 1
  96.  
  97.  
  98. The value 20 a couple of lines up sets up the colours for low
  99. intensity cyan/magenta/white. Good luck, and may the colours
  100. be with you!
  101.  
  102.  
  103.